package com.qf.manager.mapper;

import com.qf.manager.pojo.po.Bus;
import com.qf.manager.pojo.po.BusExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface BusMapper {
    int countByExample(BusExample example);

    int deleteByExample(BusExample example);

    int deleteByPrimaryKey(Integer bid);

    int insert(Bus record);

    int insertSelective(Bus record);

    List<Bus> selectByExample(BusExample example);

    Bus selectByPrimaryKey(Integer bid);

    int updateByExampleSelective(@Param("record") Bus record, @Param("example") BusExample example);

    int updateByExample(@Param("record") Bus record, @Param("example") BusExample example);

    int updateByPrimaryKeySelective(Bus record);

    int updateByPrimaryKey(Bus record);
}